package guava.type;

import com.google.common.reflect.TypeToken;

import java.util.Map;

/**
 * Created by lxue on 16/5/7.
 */
public class Main {
    public static void main(String[] args) {
        TypeToken<Map<String, Integer>> typeToken = new TypeToken<Map<String, Integer>>() {
        };
        System.out.printf("type:%s, raw:%s, componentType:%s",
                typeToken.getType(),
                typeToken.getRawType(), typeToken.getComponentType());
    }
}
